Skip to content

Add has_code to repository REST API #35214

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

6543
Copy link
Member

@6543 6543 commented Aug 5, 2025

similar to how we can enable/disable repos or issues on a repo add the code unit as option to it.

affects

PATCH /repos/{owner}/{repo}

Sponsored by Kithara Software GmbH

@6543 6543 added type/enhancement An improvement of existing functionality topic/api Concerns mainly the API labels Aug 5, 2025
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Aug 5, 2025
@github-actions github-actions bot added modifies/api This PR adds API routes or modifies them modifies/go Pull requests that update Go code labels Aug 5, 2025
@6543

This comment was marked as resolved.

@lunny
Copy link
Member

lunny commented Aug 5, 2025

It's better to have a test.

@6543
Copy link
Member Author

6543 commented Aug 7, 2025

@lunny tests added :)

also did cover some more

@6543 6543 requested a review from a team August 8, 2025 14:26
@6543
Copy link
Member Author

6543 commented Aug 8, 2025

uh sorry the review request should not ping all - was not intentional in this case ... got the wrong pull

@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Aug 8, 2025
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Aug 8, 2025
@lunny lunny added the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Aug 8, 2025
@silverwind silverwind merged commit ef613ee into go-gitea:main Aug 8, 2025
26 checks passed
@GiteaBot GiteaBot added this to the 1.25.0 milestone Aug 8, 2025
@silverwind silverwind deleted the extend-repo-config-api-add_has_code branch August 8, 2025 16:18
@GiteaBot GiteaBot removed the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Aug 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/api This PR adds API routes or modifies them modifies/go Pull requests that update Go code topic/api Concerns mainly the API type/enhancement An improvement of existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants